home *** CD-ROM | disk | FTP | other *** search
/ Aminet 34 / Aminet 34 (2000)(Schatztruhe)[!][Dec 1999].iso / Aminet / util / pack / agf.lha / fir.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-09-06  |  366 b   |  23 lines

  1. #ifndef _FIR_H_
  2. #define _FIR_H_
  3.  
  4. #include <stdio.h>
  5.  
  6. //#define INTQUICK
  7. #ifndef INTQUICK
  8.    typedef float quick;
  9. #else
  10.    typedef long quick;
  11. #endif
  12.  
  13. quick Qmul(quick x, quick y);
  14. quick l2Quick(long x);
  15. quick c2Quick(char x);
  16. char Quick2c(quick x);
  17.  
  18. quick fir_out(quick *x, quick *a, int cofs);
  19. void gradient_descent(quick *x, quick *a, int cofs, quick D);
  20.  
  21. #endif
  22.  
  23.